← Back to issue list

Removing a hook script and building, script still present

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1865167
Type
issue
State
open
Author
~knitzsche
Labels
Created
2020-02-28 15:18:39.842322+00:00
Updated
2020-02-28 17:06:39.726025+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

I had a snap/hooks/prepare-slot-serial-port hook script and built the snap. I then realized I did not want the hook, so I deleted the file and re-ran snapcraft. The final snap still contained the hook script, so I had to clean and build, which took a long time since this is building a a gadget on pi3. Expected behavior: snapcraft would detect a previous hook script is no longer present and create a new snap without it, without needed to clean first.

Evaluation history

No evaluation history available.